Short-Term Planning With Long-Term Effects